package com.freestyle.jmssample.api;

import org.springframework.beans.factory.InitializingBean;

/**
 * Created by rocklee on 2022/1/6 10:39
 */

public class SMSConstants implements InitializingBean {
  public final static String SMS_QUEUE_DIRECT ="sms-queue-direct";
  public final static String SMS_QUEUE_DIRECT2 ="sms-queue-direct2";
  public final static String SMS_QUEUE_DIRECT3="sms-queue-direct3";
  public final static String SMS_QUEUE_DIRECT4="sms-queue-direct4";
  public final static String SMS_EXCHANGE_DIRECT ="sms-exchange-direct";
  public final static String SMS_KEY_DIRECT ="sms.direct";
  public final static String SMS_KEY_DIRECT3 ="sms.direct3";
  public final static String SMS_KEY_DIRECT4 ="sms.direct4";

  public final static String SMS_EXCHANGE_TOPIC ="sms-exchange-topic";
  public final static String SMS_QUEUE_TOPIC ="sms-queue-topic";
  public final static String SMS_KEY_TOPIC ="sms.#";

  //广播
  public final static String SMS_EXCHANGE_FANOUT ="sms-exchange-fanout";
  public final static String SMS_QUEUE_FANOUT_1 ="sms-queue_fanout1";
  public final static String SMS_QUEUE_FANOUT_2 ="sms-queue_fanout2";
  @Override
  public void afterPropertiesSet() throws Exception {
  }

}
